import { createRouter, createWebHashHistory } from "https://unpkg.com/vue-router@4/dist/vue-router.esm-browser.js";
import Home from "/static/js/home.js";
import Users from "/static/js/userpage.js";

const routes = [
    { path: "/home", component: Home },
    { path: "/users", component: Users }
];

const router = createRouter({
    history: createWebHashHistory(), 
    routes
});

export default router;
